﻿using System;
using Pyxis.FluentSelenium.SimpleWebApp.Shopping.Domain;

namespace Pyxis.FluentSelenium.SimpleWebApp.Shopping
{
    public partial class ShopOnline : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void proceeedToCheckout_Click(object sender, EventArgs e)
        {
            ShoppingCart.UnitQuantity = 2;
            Response.Redirect("ConfirmOrder.aspx");
        }

        protected void btnSearch_Click(object sender, EventArgs e)
        {
            Session["searchText"] = searchText.Text;
            Response.Redirect("SearchResults.aspx");
        }
    }
}